package asmin.test;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class test extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        TextView tv = new TextView(this);
//        tv.setText("Hello World");
//        tv.setText();
        setContentView(R.layout.main);
        
        Button button = (Button)findViewById(R.id.Button02);
	    button.setOnClickListener(
	    	new Button.OnClickListener(){ 
				@Override
				public void onClick(View v) {
					finish(); // 액티비티를 종료합니다. 
				}
	    	}
	    );
    }
}